package com.dd.keel.core.common.flea;

import java.io.InputStream;

public interface FleaMessage {
	
	public void beforeEncode();
	
	public void beforeDecode();
	
	public byte[] encode() throws EncodeException;
	
	public void decode(InputStream in) throws DecodeException,ConnectException;
	
}
